﻿<%@ Page Language="C#" AutoEventWireup="false" CodeFile="SplashScreen.aspx.cs" Inherits="SplashScreen" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
	<head runat="server">
		   <link rel ="SHORTCUT ICON" href="images/122.ico" />
  <title>eBird Innovations&reg;  .:. Business Process Automation</title>

	</head>
	<body  text="#2E9AFE" style="background-image:url('images/business_ppt_background.jpg');font-family:Monotype Corsiva" >
	<table width="100%">
	    <tr>
	        <td align="center">
	        		<div id="splashcontainer"  style="position:absolute;width:650px"></div>
                    <layer id="splashcontainerns" width="1450"></layer>
		<script>


    var preloadimages=new Array("images/animated_globe.gif","images/animated_globe.gif")
    var intervals=2000
    var targetdestination="Login.aspx"
    var splashmessage=new Array()
    var openingtags='<font face="Monotype Corsiva" size="6">'
    splashmessage[0]='<img src="images/animated_globe.gif"> Welcome to BusinessProcessAutomation <img src="images/animated_globe.gif">'
    splashmessage[1]='By eBired Innovations<t> <img src="images/122.ico">'
    splashmessage[2]='Contact Us,'
    splashmessage[3]='e-Bird Innovations Research &  Development  , 2nd Floor, SP 3/86-4,Near Pangappara HealthCenter,TVM'
    splashmessage[4]='Our Website: <a href="www.ebirdinfo.com">www.ebirdinfo.com</a>'
    splashmessage[5]='Please stand by..'
    var closingtags='</font>'
    var i=0
    var ns4=document.layers?1:0
    var ie4=document.all?1:0
    var ns6=document.getElementById&&!document.all?1:0
    var theimages=new Array()
    if (document.images){
    for (p=0;p<preloadimages.length;p++){
    theimages[p]=new Image()
    theimages[p].src=preloadimages[p]
    }
    }

function displaysplash(){
if (i<splashmessage.length){
sc_cross.style.visibility="hidden"
sc_cross.innerHTML='<b><center>'+openingtags+splashmessage[i]+closingtags+'</center></b>'
sc_cross.style.left=ns6?parseInt(window.pageXOffset)+parseInt(window.innerWidth)/2-parseInt(sc_cross.style.width)/2 : document.body.scrollLeft+document.body.clientWidth/2-parseInt(sc_cross.style.width)/2
sc_cross.style.top=ns6?parseInt(window.pageYOffset)+parseInt(window.innerHeight)/2-sc_cross.offsetHeight/2 : document.body.scrollTop+document.body.clientHeight/2-sc_cross.offsetHeight/2
sc_cross.style.visibility="visible"
i++
}
else{
window.location=targetdestination
return
}
setTimeout("displaysplash()",intervals)
}

function displaysplash_ns(){
if (i<splashmessage.length){
sc_ns.visibility="hide"
sc_ns.document.write('<b>'+openingtags+splashmessage[i]+closingtags+'</b>')
sc_ns.document.close()

sc_ns.left=pageXOffset+window.innerWidth/2-sc_ns.document.width/2
sc_ns.top=pageYOffset+window.innerHeight/2-sc_ns.document.height/2

sc_ns.visibility="show"
i++
}
else{
window.location=targetdestination
return
}
setTimeout("displaysplash_ns()",intervals)
}



function positionsplashcontainer(){
if (ie4||ns6){
sc_cross=ns6?document.getElementById("splashcontainer"):document.all.splashcontainer
displaysplash()
}
else if (ns4){
sc_ns=document.splashcontainerns
sc_ns.visibility="show"
displaysplash_ns()
}
else
window.location=targetdestination
}
window.onload=positionsplashcontainer

		</script>
	        
	        </td>
	    </tr>
	</table>
		
	</body>
</html>
